package com.homework.phase1.module4;

//使用线程池将一个目录中的所有内容拷贝到另外一个目录中，包含子目录中的内容。

import java.io.File;
import java.io.IOException;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Homework3 {
    public static void main(String[] args) {

        ExecutorService executorService = Executors.newFixedThreadPool(10);

        executorService.execute(new ThreadRuner(new File("F:/a"),new File("G:/a")));

        executorService.shutdown();




    }
}
